package com.spzx.cart.service;

import com.spzx.cart.api.domain.CartInfo;

import java.util.List;

/**
 * ClassName: ICartService
 * Package: com.spzx.cart.service
 * Description:
 *
 * @Author 王颖轩
 * @Create 2024/12/29 17:05
 * @Version 1.0
 */
public interface ICartService {
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> getCartList();

    void deleteCart(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    void allCheckCart(Integer isChecked);

    void clearCart();

    List<CartInfo> getCartCheckedList();

    Boolean updateCartPrice(Long userId);

    Boolean deleteCartCheckedList(Long userId);
}
